package com.czy.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 资产表
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class Asset {
    private Long assetId; // 资产唯一ID
    private String assetName; // 资产名称
    private Long categoryId; // 关联分类表的分类ID
    private String assetType; // 产品型号
    private LocalDate purchaseDate; // 购买日期
    private BigDecimal purchasePrice; // 购买价格
    private Integer stockQuantity; // 库存量
    private String location; //存放地点
    private String description; // 资产描述
    private LocalDateTime updateTime; // 修改时间

}
